<html>
<head><title>MAC</title>
</head>
<body>
<?php
	$mac = $_GET['mac'];
	$mac = "[" . date("Y-m-d H:i:s") . "] MAC: " . $mac . PHP_EOL;
	$file = fopen("macAddr.txt","a+");
	fwrite($file,$mac);
	fclose($file);
	echo "I have lived once more...";
?>
</body>
</html>